package com.itheima.string;

import java.util.Scanner;

public class Demo6 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个字符串:");
        String  s=sc.nextLine();
        String ss=s.replace("TMD","***");
         ss=ss.replace("SB","***");
        System.out.println(ss);
    }
}
